Simple_History\Simple_History D

Total Complexity 129
Dependencies 42
Dependents 29
Total lines 1,600
Lines of code 695
Logical lines of code 333
Comment lines 660
Methods 54
Properties 11

Methods 54

Method Rating Maintainability Complexity Lines of code
get_log_row_html_output()
C
24
22 213
get_loggers_that_user_can_read()
A
47 7 39
get_log_row_details_output()
S
54 7 20
get_log_row_plain_text_output()
S
54 6 21
__call()
S
49 5 36
register_settings_tab()
S
51 4 28
get_core_dropins()
S
53 4 21
get_services()
S
54 4 20
load_service()
S
51 3 31
get_instantiated_dropin_by_slug()
S
63 4 11
get_instantiated_logger_by_slug()
S
63 4 11
get_settings_tabs()
S
54 3 23
get_log_row_header_output()
S
64 4 9
get_log_row_sender_image_output()
S
64 4 9
get_core_loggers()
S
49 1 34
get_service()
S
67 3 8
init()
S
66 2 9
load_services()
S
64 2 10
get_instance()
S
71 2 6
on_admin_head()
S
74 2 5
on_admin_footer()
S
74 2 5
register_plugin_with_license()
S
66 2 8
__construct()
S
82 1 3
get_instantiated_services()
S
82 1 3
add_admin_actions()
S
75 1 4
setup_db_variables()
S
65 1 10
get_view_history_capability()
S
81 1 3
get_view_settings_capability()
S
75 1 4
user_can_clear_log()
S
75 1 4
register_logger()
S
80 1 3
register_dropin()
S
80 1 3
get_external_loggers()
S
82 1 3
get_external_dropins()
S
82 1 3
get_pager_size()
S
75 1 4
get_pager_size_dashboard()
S
75 1 4
is_on_our_own_pages()
S
75 1 4
does_database_have_data()
S
75 1 4
set_settings_tabs()
S
81 1 3
setting_show_on_dashboard()
S
75 1 4
setting_show_as_page()
S
75 1 4
get_clear_history_interval()
S
75 1 4
clear_log()
S
75 1 4
get_instantiated_loggers()
S
82 1 3
set_instantiated_loggers()
S
81 1 3
get_instantiated_dropins()
S
82 1 3
set_instantiated_dropins()
S
81 1 3
get_num_events_last_n_days()
S
75 1 4
get_num_events_per_day_last_n_days()
S
75 1 4
get_unique_events_for_days()
S
75 1 4
get_events_table_name()
S
82 1 3
get_contexts_table_name()
S
82 1 3
get_menu_manager()
S
75 1 4
register_service()
S
80 1 3
get_external_services()
S
82 1 3